package ink.ykb.j2CacheDemo.entity;
import java.io.Serializable;
import java.util.Date;

import org.beetl.sql.core.TailBean;

import com.fasterxml.jackson.annotation.JsonView;

import ink.ykb.j2CacheDemo.util.FilterView;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
//@FieldDefaults(level = AccessLevel.PRIVATE)
@ApiModel(value = "User",description = "用户")
public class User extends TailBean  implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private Integer id ;
	private Integer departmentId ;
	//名称
	private String name ;
	
	@JsonView(FilterView.OutputPassword.class)
	private String password ;
	//创建时间
	private Date createTime ;
	
	

}
